|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.FormElement
org.eclipse.vtp.framework.interactions.voice.vxml.Transfer
public class Transfer
The Transfer class represents the <transfer> VXML
element.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Transfer(java.lang.String name,
java.lang.String destination)
Creates a new instance of Transfer. |
|
Transfer(java.lang.String name,
java.lang.String expression,
java.lang.String destination)
Creates a new instance of Transfer. |
|
Transfer(java.lang.String name,
java.lang.String expression,
java.lang.String condition,
java.lang.String destination)
Creates a new instance of Transfer. |
|
| Method Summary | |
|---|---|
void |
addEventHandler(EventHandler eventHandler)
Adds the specified event handler to this recording. |
void |
addFilledHandler(Filled filled)
Adds the specified filled handler to this transfer. |
java.lang.String |
getDestination()
Returns the destination of the transfer. |
java.lang.String |
getMaxTime()
Returns the maxTime. |
boolean |
isBridgeEnabled()
Returns the bridge setting. |
void |
removeEventHandler(EventHandler eventHandler)
Removes the specified event handler from this recording. |
void |
removeFilledHandler(Filled filled)
Removes the specified filled handler from this transfer. |
void |
setBridgeEnabled(boolean bridgeEnabled)
Sets the bridge setting. |
void |
setDestination(java.lang.String destination)
Sets the destination of the transfer. |
void |
setMaxTime(java.lang.String maxTime)
Sets the maxTime. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this form element to the supplied set. |
protected void |
writeEventHandlers(org.xml.sax.ContentHandler outputHandler)
Write the event handlers of this field to the specified content handler. |
protected void |
writeFilledHandlers(org.xml.sax.ContentHandler outputHandler)
Write the filled handlers of this field to the specified content handler. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.voice.vxml.FormElement |
|---|
getCondition, getExpression, getName, setCondition, setExpression, setName |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Transfer(java.lang.String name,
java.lang.String destination)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
Transfer.
name - The name this element will be referred to by.destination - The destination of the transfer.
java.lang.IllegalArgumentException - If the specified name is empty.
java.lang.IllegalArgumentException - If the specified destination is empty.
java.lang.NullPointerException - If the specified name is null.
java.lang.NullPointerException - If the specified destination is
null.
public Transfer(java.lang.String name,
java.lang.String expression,
java.lang.String destination)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
Transfer.
name - The name this element will be referred to by.expression - See the documentation for FormElement.destination - The destination of the transfer.
java.lang.IllegalArgumentException - If the specified name is empty.
java.lang.IllegalArgumentException - If the specified expression is empty.
java.lang.IllegalArgumentException - If the specified destination is empty.
java.lang.NullPointerException - If the specified name is null.
java.lang.NullPointerException - If the specified destination is
null.
public Transfer(java.lang.String name,
java.lang.String expression,
java.lang.String condition,
java.lang.String destination)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
Transfer.
name - The name this element will be referred to by.expression - See the documentation for FormElement.condition - See the documentation for FormElement.destination - The destination of the transfer.
java.lang.IllegalArgumentException - If the specified name is empty.
java.lang.IllegalArgumentException - If the specified expression is empty.
java.lang.IllegalArgumentException - If the specified condition is empty.
java.lang.IllegalArgumentException - If the specified destination is empty.
java.lang.NullPointerException - If the specified name is null.
java.lang.NullPointerException - If the specified destination is
null.| Method Detail |
|---|
public java.lang.String getDestination()
public java.lang.String getMaxTime()
public boolean isBridgeEnabled()
public void setDestination(java.lang.String destination)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
destination - The destination of the transfer.
java.lang.IllegalArgumentException - If the specified destination is empty.
java.lang.NullPointerException - If the specified destination is
null.public void setMaxTime(java.lang.String maxTime)
maxTime - The maxTime to set.public void setBridgeEnabled(boolean bridgeEnabled)
bridgeEnabled - True if the transfer will be bridged.
public void addFilledHandler(Filled filled)
throws java.lang.NullPointerException
filled - The filled handler to be added.
java.lang.NullPointerException - If the supplied filled handler is
null.
public void removeFilledHandler(Filled filled)
throws java.lang.NullPointerException
filled - The filled handler to be removed.
java.lang.NullPointerException - If the supplied filled handler is
null.
public void addEventHandler(EventHandler eventHandler)
throws java.lang.NullPointerException
eventHandler - The event handler to add.
java.lang.NullPointerException - If the supplied event handler is
null.
public void removeEventHandler(EventHandler eventHandler)
throws java.lang.NullPointerException
eventHandler - The event handler to remove.
java.lang.NullPointerException - If the supplied event handler is
null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
FormElement
writeAttributes in class FormElementattributes - The attribute set to write to.
protected void writeFilledHandlers(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of one of the filled handlers fails.
protected void writeEventHandlers(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of one of the event handlers fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||